package com.muyu.blog.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.muyu.blog.entity.SysUser;
import com.muyu.blog.entity.vo.Result;
import com.muyu.blog.entity.vo.UserVo;

public interface SysUserService {
    SysUser findUserById(Long authorId);

    UserVo findUserVoById(Long id);

    SysUser findUser(String account, String pwd);

    Result findUserByToken(String token);

    SysUser findUserByAccount(String account);

    void save(SysUser sysUser);
}
